package org.homerepair

class Bid {
	
	static hasMany = [materials:Material]
	
	def belongsTo = ContractorUser
	
	ContractorUser contractor
	
	String title
	String comments
	String totalLabor
	String totalMaterials
	String tax
	String totalCost
	

    static constraints = {
		title blank:false
		comments maxSize:5000
    }
	
	String toString()
	{
		title
	}
}
